package com.leancloud.login.adapter;

import android.widget.TextView;

import com.avos.avoscloud.AVUser;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.leancloud.login.R;

public class PersonalOptionAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    public PersonalOptionAdapter(int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        helper.setText(R.id.item_option_tag, item);

        TextView flagTx = helper.itemView.findViewById(R.id.item_option_flag);

        String flag = "-";
        if (AVUser.getCurrentUser() == null) {
            return;
        }
        if (helper.getLayoutPosition() == 0) {

        }
    }
}
